package me.shiqiang.im.microservice.returnobj;

import com.tst.common.returnobj.BaseReturnObj;
import com.tst.common.returnobj.ReturnObjCode;
import me.shiqiang.im.vo.AppHomeInfoVo;

/**
 * Created by John on 2018/9/3
 */
public class AppHomeInfoReturnObj extends BaseReturnObj {
    private AppHomeInfoVo res;

    public AppHomeInfoReturnObj(ReturnObjCode returnObjCode, String msg, AppHomeInfoVo res) {
        super(returnObjCode, msg);
        this.res = res;
    }

    public AppHomeInfoReturnObj() {
    }

    public AppHomeInfoVo getRes() {
        return res;
    }

    public void setRes(AppHomeInfoVo res) {
        this.res = res;
    }


    @Override
    public String toString() {
        String resStr = "";
        if (this.res != null) {
            resStr = this.res.toString();
        }

        return "AppHomeInfoReturnObj{" +
                "code='" + this.getCode() + '\'' +
                "msg='" + this.getMsg() + '\'' +
                "res='" + resStr + '\'' +
                '}';
    }
}
